package one.three.web.nine;

public class TuringTape {
	private Integer a;
	private Stack<Integer> left;
	private Stack<Integer> right;

	public TuringTape() {
		right = new Stack<Integer>();
		left = new Stack<Integer>();
	}

	public void write(int a) {
		this.a = a;
	}

	public int look() {
		return a;
	}

	public void moveRight() {
		right.push(a);
	}

	public void moveLeft() {
		left.push(a);
	}
}
